Feature: 03. Now we can test the Sentry Navigation Modes
Before
Hook
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'menu grid-element')]/div[contains(@class, 'menuModes primary')]/div[contains(@class, 'menuModes-modes')]/button[3]" can't be clicked!!
element click intercepted: Element (button class="ModesButton manual active" type="button")...(/button) is not clickable at point (473, 1135). Other element would receive the click: (div class="registrationModalContent-wrapper")...(/div)
(Session info: chrome-headless-shell=124.0.6367.118)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'jenkintPT', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '6.8.0-47-generic', java.version: '11.0.25'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome-headless-shell, browserVersion: 124.0.6367.118, chrome: {chromedriverVersion: 124.0.6367.91 (51df0e5e17a8..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:42679}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: none, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: b49d5987486eaef29b7e7548889353d8
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201)
at ✽.the Manual Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/03.NavigationModes.feature:12)
Then
the MANUAL is active
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='ModesButton manual active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:390) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/03.NavigationModes.feature:17)
When
the Collision Avoidance Button is clicked
And
the "cy" on Secondary Map Circle is "higher"
Then
the COLLISION AVOIDANCE is active
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='ModesButton navigation active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:390) at ✽.the COLLISION AVOIDANCE is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/03.NavigationModes.feature:23)
When
the Surveillance Button is clicked
And
the "cy" on Secondary Map Circle is "lower"
Then
the SURVEILLANCE is active
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='ModesButton surveillance active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:390) at ✽.the SURVEILLANCE is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/03.NavigationModes.feature:30)
When
the Manual Button is clicked
And
the "cy" on Secondary Map Circle is "equal"
Then
the MANUAL is active
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='ModesButton manual active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:390) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/03.NavigationModes.feature:36)
When
the Primary Camera Rotation Button is clicked
Then
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked